﻿@{
    Layout = null;

    string ipAddress = EnterpriseFund.Common.GenerateUtil.GetClientIPv4Address();
}
<!DOCTYPE html>
<html>
<head>
    <title>Buttom</title>
    <style type="text/css">
        body
        {
            margin: 0px;
            font-size: 12px;
            color: #FFFFFF;
        }
        span
        {
            margin-right: 20px;
        }
    </style>
</head>
<body>  
    <div border="false" style="overflow: hidden; height: 30px; line-height:30px; background: #D2E0F2 repeat-x center 50%; color: Black; font-size:12px; font-family: Verdana, 微软雅黑,黑体">
        &nbsp;&nbsp;&nbsp;&nbsp;<span style="background:url(@Url.Content("~/Content/images/users.png") ) no-repeat 0; padding-left:25px;">当前部门：</span><span style="color:#09F; font-weight:600; padding-right:15px; border-right: #999 1px solid; margin-right:10px;">@ViewData["DeptName"].ToString()</span>
        <span style="background:url(@Url.Content("~/Content/images/user_friend.png")) no-repeat 0; padding-left:25px;">当前用户：</span><span style="color:#09F; font-weight:600; padding-right:15px; border-right: #999 1px solid; margin-right:10px;">@ViewData["EmpName"]</span>
        <span style="background:url(@Url.Content("~/Content/images/history.png")) no-repeat 0; padding-left:25px;">当前时间：</span><span style="color:#09F; font-weight:600; padding-right:15px; border-right: #999 1px solid; margin-right:10px;">@DateTime.Now.ToShortDateString()</span> 
        <span style="background:url(@Url.Content("~/Content/images/network.png")) no-repeat 0; padding-left:25px;">登陆IP：</span><span style="color:#09F; font-weight:600;">@ipAddress</span>
    </div>
</body>
</html>
